import React from "react"
import { Link } from "react-router-dom";
import { Result, Button } from "antd";
import "./index.css"
class PageError extends React.Component {
    render() {
        return (
            <div className="page_error">
                <Result
                    status="404"
                    title="404"
                    subTitle="Sorry, the page you visited does not exist."
                    extra={ <Link to="/"><Button type="primary">Back Home</Button></Link>}
                />
            </div>
        );
    }
}
export default PageError